﻿$(function () {
    $(".ld-tabs").kendoTabStrip({});

    kendo.culture("zh-CHS");
});

function GetOrderStatusString(status) {
    switch (status) {
        case 1:
            return "新单据";
        case 3:
            return "部分库存";
        case 5:
            return "仓库完成";
        case 8:
            return "部分支付";
        case 10:
            return "全部支付";
        case 21:
            return "订单进行中";
        case 23:
            return "订单已完成";
        case 99:
            return "已撤消";
        default:
            return "未知";
    }
}

function GetOrderName(orderMethod) {
    switch (orderMethod) {
        case 1:
            return "采购单";
        case 2:
            return "销售单";
        case 3:
            return "采购退货单";
        case 4:
            return "销售退货单";
        case 11:
            return "入库单";
        case 12:
            return "出库单";
        case 13:
            return "盘存单";
        case 14:
            return "调拨单";
        case 21:
            return "付款单";
        case 22:
            return "收款单";
    }
}


